package com.fire.control.system.module.system.service;

import java.io.FileNotFoundException;

import org.springframework.data.domain.Pageable;

import com.fire.control.system.dto.AppManagerDto;
import com.fire.control.system.entity.File;
import com.fire.control.system.support.protocol.comman.ResponseProtocol;

/**
 * 
 * @ClassName: AppMapperService
 * @Description: TODO (app升级管理)
 * @author: tanyuting
 * @date: 2017年7月1日 下午4:25:26
 */
public interface AppManagerService {
	

	/**
	 * 
	 * @Title: getAppManagerList
	 * @Description: TODO(app升级列表管理)
	 * @param dto
	 * @param p
	 * @return
	 * @return: ResponseProtocol
	 *@author: tanyuting
	 */
	public ResponseProtocol getAppManagerList(AppManagerDto dto);
	
	

	
	/**
	 * 
	 * @Title: addAppManager
	 * @Description: TODO(添加app升级)
	 * @param appd
	 * @return
	 * @return: ResponseProtocol
	 *@author: tanyuting
	 */
	public ResponseProtocol addAppManager(AppManagerDto appd);



	/**
	 * 
	 * @Title: getappdownloadFile
	 * @Description: 文件下载
	 * @return
	 * @return: ResponseProtocol
	 *@author:tanyuting
	 * @throws FileNotFoundException 
	 */
	public File getappdownloadFile() throws FileNotFoundException;


	/**
	 * 
	 * @Title: updateAppManager
	 * @Description: TODO 修改app状态是否启用
	 * @param aid
	 * @return
	 * @return: int
	 *@author:tanyuting
	 */
	public ResponseProtocol enableAppManagerStatus(String aid);



}
